package com.oig.sys.msg.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Schema
@Data
public class PushChannelVo {


    @Schema(description = "消息内容id")
    private Integer id;

    @Schema(description = "渠道名称")
    private String channelName;

    @Schema(description = "消息类型")
    private String supportMsgType;

    @Schema(description = "渠道类型")
    private String channelType;

    @Schema(description = "渠道配置")
    private String channelConfig;

    @Schema(description = "status")
    private String status;

    @Schema(description = "remark")
    private String remark;

    @Schema(description = "创建人id")
    private Integer createUserId;
    @Schema(description = "创建人名称")
    private String createUserName;
    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @Schema(description = "最后修改人id")
    private Integer lastUpdateId;
    @Schema(description = "最后修改人名称")
    private String lastUpdateName;
    @Schema(description = "最后修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date lastUpdateTime;

    @Schema(description = "版本号")
    private String version;

    @Schema(description = "所属租户id")
    private Integer tenantId;
    @Schema(description = "所属租户名称")
    private String tenantName;


}
